package com.neusoft.Shixun.service;

import com.neusoft.Shixun.dto.BedUsageDetailDto;
import com.neusoft.Shixun.po.BedUsage;
import com.neusoft.Shixun.po.ResponseBean;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

public interface BedUsageService {
    ResponseBean<List<BedUsage>> getAllBedUsages();
    ResponseBean<BedUsage> getBedUsageById(Integer usageId);
    ResponseBean<List<BedUsage>> getBedUsageByCondition(Integer id, LocalDate startDate, boolean isCurrent);
    ResponseBean<Integer> addBedUsage(BedUsage bedUsage);
    ResponseBean<Integer> updateBedUsage(BedUsage bedUsage);
    ResponseBean<Integer> deleteBedUsage(Integer usageId);
    ResponseBean<List<BedUsage>> getBedUsageByClientId(Integer clientId);
    ResponseBean<List<BedUsageDetailDto> >getBedUsageDetails(String clientName, String admissionDate, Boolean isCurrent);
}